package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:19
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysUserLoginLogDAO extends IDataAccessInterface<SysUserLoginLog, SysUserLoginLogDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_USER_LOGIN_LOG";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_USER_LOGIN_LOG.ID";

    /**
     * Mapped Field USER_ID
    */
    static final String UserId = "SYS_USER_LOGIN_LOG.USER_ID";

    /**
     * Mapped Field SESSION_ID
    */
    static final String SessionId = "SYS_USER_LOGIN_LOG.SESSION_ID";

    /**
     * Mapped Field LOGIN_TIME
    */
    static final String LoginTime = "SYS_USER_LOGIN_LOG.LOGIN_TIME";

    /**
     * Mapped Field LOGIN_IP
    */
    static final String LoginIp = "SYS_USER_LOGIN_LOG.LOGIN_IP";

    /**
     * Mapped Field LOGOUT_TIME
    */
    static final String LogoutTime = "SYS_USER_LOGIN_LOG.LOGOUT_TIME";

    /**
     * Mapped Field ONLINE_TIME
    */
    static final String OnlineTime = "SYS_USER_LOGIN_LOG.ONLINE_TIME";

    /**
     * Mapped Field ONLINE_MINUTE
    */
    static final String OnlineMinute = "SYS_USER_LOGIN_LOG.ONLINE_MINUTE";

    /**
     * Mapped Field LAST_ACCESSED_TIME
    */
    static final String LastAccessedTime = "SYS_USER_LOGIN_LOG.LAST_ACCESSED_TIME";

    /**
     * Mapped Field LOGIN_STATUS
    */
    static final String LoginStatus = "SYS_USER_LOGIN_LOG.LOGIN_STATUS";

    /**
     * Mapped Attribute userName
    */
    static final String UserName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute userAccount
    */
    static final String UserAccount = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserAccount,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute userType
    */
    static final String UserType = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserType,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute userStatus
    */
    static final String UserStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.Status,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysUserLoginLog findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute onlineMinute
         */
        static final String OnlineMinute = "onlineMinute";

        /**
         * Attribute lastAccessedTime
         */
        static final String LastAccessedTime = "lastAccessedTime";

        /**
         * Attribute loginStatus
         */
        static final String LoginStatus = "loginStatus";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute userId
         */
        static final String UserId = "userId";

        /**
         * Attribute sessionId
         */
        static final String SessionId = "sessionId";

        /**
         * Attribute loginTime
         */
        static final String LoginTime = "loginTime";

        /**
         * Attribute loginIp
         */
        static final String LoginIp = "loginIp";

        /**
         * Attribute logoutTime
         */
        static final String LogoutTime = "logoutTime";

        /**
         * Attribute onlineTime
         */
        static final String OnlineTime = "onlineTime";

        /**
         * Attribute userName
         */
        static final String UserName = "userName";

        /**
         * Attribute userType
         */
        static final String UserType = "userType";

        /**
         * Attribute userAccount
         */
        static final String UserAccount = "userAccount";

        /**
         * Attribute userStatus
         */
        static final String UserStatus = "userStatus";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
